#include <iostream>
using namespace std;
int main()
{
    int i;
    string cad;
    char let;
    cout<<"ingrasar palabra"<<endl;
    cin>>cad;
    cout<<"ingrasar letra"<<endl;
    cin>>let;
    for(i=0;i<cad.length();i++)
    {
       if(cad[i]==let)
       {
           cout<<i+1;
           break;
       }
    }
    return 1;
}
